<div class="bigweb">
<section class="breadcrumb">
	<span>您当前的位置：</span> <a href="{url:}">首页</a> » 商城公告
</section>

<section class="web">
	<section class="main">
		<h2 class="main_head">商城公告</h2>
		<div class="article_list">
			<ul>
				{set:$queryNotice = Api::run('getNoticeList')}
				{foreach:items = $queryNotice->find()}
				<li><time>{$item['time']}</time><a href="{url:/site/notice_detail/id/$item[id]}">{$item['title']}</a></li>
				{/foreach}
			</ul>
			{$queryNotice->getPageBar()}
		</div>
	</section>
	<aside class="bar">
		<div class="bar_box">
			<h3 class="bar_box_head">热卖商品</h3>
			<ul class="bar_goods">
				{foreach:items=Api::run('getCommendHot',5)}
				<li>
					<a href="{url:/site/products/id/$item[id]}">
						<img src="{url:/pic/thumb/img/$item['img']/w/60/h/60}" alt="{$item['name']}">
						<strong>{$item['name']}</strong>
						<em>￥{$item['sell_price']}</em>
					</a>
				</li>
				{/foreach}
			</ul>
		</div>
		<nav class="bar_box">
			<h3 class="bar_box_head">资讯分类</h3>
			<ul class="bar_nav">
				{foreach:items=Api::run('getArticleCategoryList',10)}
				<li><a title="{$item['name']}" href="{url:/site/article/id/$item[id]}">{$item['name']}</a></li>
				{/foreach}
			</ul>
		</nav>
	</aside>
</section>
</div>
